package com.xbhog.screwdemo.demos;

import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
public class User {

    @NotBlank(message = "用户名不能为空")
    private String name;

    private Integer age;


}
